package com.kitty.game.gm.handler100;

import com.kitty.common.utils.SpringUtils;
import com.kitty.game.equip.message.RespNotifyMiscEx;
import com.kitty.game.role.model.Role;
import com.kitty.common.model.Reason;
import com.kitty.mina.message.MessagePusher;

public class NCJinbi implements NCGmFather {
    @Override
    public void handle(Role role, String content) {
        int money = Integer.parseInt(content);
        SpringUtils.getRoleService().addMoney(role, money, Reason.GM_ADD_MONEY);
        MessagePusher.pushMessage(role,new RespNotifyMiscEx("发送金币成功"));
    }
}
